import React from "react";
import EditableTable from "./components/Table";
import TimePick from "./components/DatePicker";
import Pickers from "./components/Picker";
class App extends React.Component {
  constructor() {
    super();
    this.state = {
      genderText: "",
    };
  }
  getMytime(date) {
    console.log(date, "父组件");
  }

  render() {
    return (
      <div className="App">
        <EditableTable />
        <TimePick time={this.getMytime.bind(this)} />
        <Pickers />
      </div>
    );
  }
}

export default App;
